]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: Don't destroy a notification from within its destroy handler
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 23 May 2013 21:41:19 +0000 (17:41 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 23 May 2013 22:25:39 +0000 (18:25 -0400)
Nothing but bad can come from this.

https://bugzilla.gnome.org/show_bug.cgi?id=700923

js/ui/messageTray.js

index e2db331d91c3e053a33019f4837e764feec73cfa..68f4e5c5fdea6d03678f7fff336647bac003a03c 100644 (file)
@@ -1996,7 +1996,6 @@ const MessageTray = new Lang.Class({
         }
 
         let index = this._notificationQueue.indexOf(notification);
-        notification.destroy();
         if (index != -1)
             this._notificationQueue.splice(index, 1);
     },